package com.hey.jvm.v22;

import java.util.Map;
import java.util.Properties;

public class Hello {
    public static void main(String[] args) {
        Properties props = System.getProperties();
        System.setProperty("amos", "This is a Test");
        for (Map.Entry<Object, Object> map : props.entrySet()){
            Object key = map.getKey();
            Object val = map.getValue();
            System.out.println(String.format("%s : %s", key, val));
        }
        Runtime runtime = Runtime.getRuntime();
        runtime.exit(110);
    }
}
